package com.scnu.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TaskStatus {
    UNFINISHED(0,"unfinished","未完成"),
    DONE(1,"done","已完成"),
    REVIEWING(2,"reviewing","审核中");
    @EnumValue
    final Integer value;
    @JsonValue
    final String jsonValue;
    final String desc;


}